package com.gitee.feizns.quickstart.dict;

import java.util.Collections;
import java.util.List;

/**
 * 无存款人
 * @author feizns
 * @since 2025/01/06
 */
public class NothingToDoDictDepositor<T extends Entry> implements DictDepositor<T> {

    @Override
    public DictDepositor<T> reload() {
        return this;
    }

    @Override
    public List<T> list() {
        return Collections.emptyList();
    }

    @Override
    public T get(String key) {
        return null;
    }

    @Override
    public void put(Entry entry) {}

    @Override
    public boolean exists(String key) {
        return false;
    }

    @Override
    public T delete(String key) {
        return null;
    }

}